using System;
using System.Collections.Generic;
using System.Text;

namespace SqlTools.DataAccessLibrary
{
	public class DbListItemChangedEventArgs<OBJ> : EventArgs
	{
		protected OBJ _previousItem;
		protected OBJ _newItem;

		public DbListItemChangedEventArgs(OBJ previousItem, OBJ newItem)
		{
			_previousItem = previousItem;
			_newItem = newItem;
		}

		public OBJ PreviousItem
		{
			get { return _previousItem; }
		}

		public OBJ NewItem
		{
			get { return _newItem; }
		}
	}
}
